<h3>Latest Traces</h3>
<table width="100%">
  <tr>
    <th width="30%" align="left" valign="top" nowrap>Event</td>
    <th width="10%" align="left" valign="top">Time</th>
    <th width="35%" align="left" valign="top">Description</th>
    <th width="25%" align="left" valign="top">Age</th>
  </tr>
<% @class = "" %>  
<% for trace in @traces %>
  <tr><td colspan="5" height="0"><hr></td></tr>
  
  <% if trace.created_at < Time.now.beginning_of_day %>
  <% @class = "softTableRow" %>
  <% end %>
  <tr class="<%= @class %>">
    <td valign="top"><%= link_to trace.event.title, {:id => trace.event.id, :controller=> :events, :action => :show} %></td>
    <td valign="top"><%=pluralize(trace.minSpent,"min") %></td>
    <td valign="top"><%=h trace.description %></td>
    <td valign="top"><%= distance_of_time_in_words_to_now(trace.created_at, true) %></td>
  </tr>
<% end %>
</table>
